package com.ruowei.modules.wxpay.repository;

import com.ruowei.common.repository.BaseRepository;
import com.ruowei.modules.wxpay.domain.QRefundFailedRecord;
import com.ruowei.modules.wxpay.domain.QWeChatPayReturn;
import com.ruowei.modules.wxpay.domain.RefundFailedRecord;

import com.ruowei.modules.wxpay.domain.WeChatPayReturn;
import org.springframework.data.jpa.repository.*;
import org.springframework.stereotype.Repository;

import java.util.Optional;

/**
 * Spring Data  repository for the RefundFailedRecord entity.
 */
@SuppressWarnings("unused")
@Repository
public interface RefundFailedRecordRepository extends BaseRepository<Long, RefundFailedRecord, QRefundFailedRecord> {
    Optional<RefundFailedRecord> findFirstByOrderCode(String orderCode);
}
